﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skynet.BusinessEntities;

namespace Skynet.BusinessLogic.DataAccess
{
    public interface IExamRepository 
    {
        void Add(Exam item);        
        void Update(Exam item);
        void Update(IEnumerable<Exam> items);
        void Delete(Exam item);
        void Delete(IEnumerable<Exam> items);

        

        Exam GetOne(object key);
        IEnumerable<Exam> GetAll();
        IEnumerable<Exam> GetByCustomerId(Guid CustomerId);
        IEnumerable<Exam> GetByCustomerIdCategoryId(Guid CategoryId, Guid CustomerId);
        IEnumerable<Exam> GetDesignByCustomerIdCategoryId(Guid CategoryId, Guid CustomerId);
    }
}
